package com.test.utils;


public enum ReturnResult {

    SUCCESS(200,"SUCCESS"),

    ERROR(500,"ERROR"),

    WAIT(101,"WAITING......");

    private Integer statusCode;

    private String statusMessage;

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public String getStatusMessage() {
        return statusMessage;
    }

    public void setStatusMessage(String statusMessage) {
        this.statusMessage = statusMessage;
    }

    private ReturnResult(Integer statusCode,String statusMessage){
        this.statusCode=statusCode;
        this.statusMessage=statusMessage;
    }
}
